package com.company.collectionTest;

import java.util.Date;
import java.util.HashSet;
import java.util.Iterator;

public class Test_HashSet {

	public static void main(String[] args) {

		HashSet hs = new HashSet();
		hs.add(new Date());
		hs.add(new Integer(12));
		hs.add("zbc");
		
		
		
		Iterator it = hs.iterator();
		while(it.hasNext())
			System.out.println(it.next());
		

	}

}
